﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using System.IO;

namespace Peer
{
    [MessageContract]
    public class RenameMessage
    {
        [MessageHeader()]
        public FileMetaData NewMetadata;

        [MessageHeader()]
        public FileMetaData OldMetadata;

        [MessageBodyMember(Order = 1)]
        public Stream FileByteStream;

        [MessageHeader()]
        public string id;
    }
}
